package section6_7;

/**
 * Created by Hyman on 2017/6/15.
 *
 * 生成并发随机数 ThreadLocalRandom
 */
public class Main {

    public static void main(String[] args) {
        Thread[] threads = new Thread[3];
        for(int i=0; i<3; i++) {
            TaskLocalRandom task = new TaskLocalRandom();
            threads[i] = new Thread(task);
            threads[i].start();
        }
    }

}
